/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.FlightState;

public interface FlightStateDao extends Dao {

    /**
     * Retrieves all of the flightStates
     */
    public List getFlightStates(FlightState flightState);

    /**
     * Gets flightState's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the flightState's id
     * @return flightState populated flightState object
     */
    public FlightState getFlightState(final Integer id);

    /**
     * Saves a flightState's information
     * @param flightState the object to be saved
     */    
    public void saveFlightState(FlightState flightState);

    /**
     * Removes a flightState from the database by id
     * @param id the flightState's id
     */
    public void removeFlightState(FlightState flightState);
}

